package cn.itcast.service.impl;

import cn.itcast.service.BookService;
import com.alibaba.dubbo.config.annotation.Service;
import org.springframework.transaction.annotation.Transactional;

@Service(interfaceClass = BookService.class,protocol = "dubbo")
@Transactional
public class BookServiceImpl implements BookService {

    @Override
    public void find() {
        System.out.println("hello dubbo");
    }
}
